/**
 * 
 */
package com.itinsys.enma.domain.response;

import java.util.List;

import com.itinsys.enma.domain.Resource;

/**
 * @author rperez
 *
 */
public class ResourceResponse extends Response{

	public static final int RESOURCE_NOT_FOUND = 1301;
	public static final int RESOURCE_EXISTS = 1303;
	public static final int RESOURCE_HAVE_ENVIRONMENT = 1304;
	private List<Resource> resources;
	
	public ResourceResponse() {
		init();
		getMessagesCode().put(RESOURCE_NOT_FOUND, "RESOURCE_NOT_FOUND");
		getMessagesCode().put(RESOURCE_EXISTS, "RESOURCE_EXISTS");
		getMessagesCode().put(RESOURCE_HAVE_ENVIRONMENT, "RESOURCE_HAVE_ENVIRONMENT");
	}

	public List<Resource> getResources() {
		return resources;
	}

	public void setResource(List<Resource> resources) {
		this.resources = resources;
	}
	
}
